# Create your views here.
#coding=utf8
from wiki.models import wiki
from django.template import loader
from django.template import context
from django.http import HttpResponse
from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response

def index(request, pagename=""):
    if pagename:
        pages = wiki.get_list(pagename__exact)